package main

import (
	"strings"
)

func main() {
	s := "发送短信失败, code:abc, msg:123"
	tempSlice := strings.Split(s, ", ")
	var codeStr, msg string

	msg = strings.Split(tempSlice[2], ":")[1]
}
